<?php
defined('SYS_RUN') or exit();

return array(
    /**
     * Server settings
     *
     * Example:
     * 'socket' => array(
     *      'default' => array(
     *          'address' => '0.0.0.0',
     *          'port' => '5562',
     *          'maxClients' => 30
     *      ),
     *      '1' => array(
     *          'address' => '0.0.0.0',
     *          'port' => '5563',
     *          'maxClients' => 30
     *      )
     * )
     * */
    'socket' => array(),
    /**
     * Routes
     *
     * Example:
     * 'routes' => array(
     *          ''                  => 'index/index',
     *          'example/'          => 'exampleClass/exampleAction',
     *          'example/{string}'  => 'exampleClass/exampleAction',
     *          'example/{int}'     => 'exampleClass/exampleAction',
     *         )
     * */
    'routes' => array(),

    /**
     * DB Settings
     *
     * Example:
     *'db' => array(
     *      'mongo' => array(
     *          'host'      => 'localhost',
     *          'db'        => 'DB name',
     *          'user'      => 'User name',
     *          'password'  => 'User password'
     *      ),
     *      // Mongo GridFS
     *      'storage' => array(
     *          'host'      => 'localhost',
     *          'db'        => 'DB name',
     *          'user'      => 'User name',
     *          'password'  => 'User password'
     *      )
     *  )
     * */
    'db' => array(),

    /**
     * Mailer SMTP settings
     *
     * Example:
     *'mailer' => array(
     *      'From'      => '',
     *      'FromName'  => '',
     *
     *      'Host'      => 'smtp1.example.com;smtp2.example.com', // default: localhost
     *      'Port'      => '25' // default: 25
     *      'SMTPAuth'  => true,
     *      'Username'  => 'User name',
     *      'Password'  => 'User password',
     *      'SMTPSecure'=> 'tls' //'ssl', 'tls' or ''
     *  )
     * */
    'mailer' => array()
);